@extends('layouts.master')

@section('content')
	<p>categoryId: {{$documents['category']['id']}}, categoryName: {{$documents['category']['category_name']}}</p>
	@foreach($documents['documents'] as $key => $document)
		<!-- @foreach($document as $key => $value)
			<p>{{$key}}, {{$value}}</p>
		@endforeach -->
		<p>id: {{$document['id']}}, title: {{$document['title']}}</p>
	@endforeach
	
@stop